package com.ximu.test.listener;

import org.apache.commons.fileupload.ProgressListener;

public class UploadListener implements ProgressListener {
	
	public void update(long read, long size, int item) {
		StringBuffer str = new StringBuffer();
		str.append("文件大小:").append(size).append("已上传:").append(read);
		System.out.println(str);
	}
}
